DX11 DRAW TEXT

Draws the specified string to the given position using the provided font, or the last font set by the
DX11 SET CURRENT FONT function (the default font will be used if this function is never manually invoked).

  Syntax
DX11 DRAW TEXT x, y, text, [center], [font]
  Parameters
x
Integer
The X coordinate of the text.
y
Integer
The Y coordinate of the text.
text
String
The text to draw. As with labels, assuming you're using a grayscale font, you can use "[c=0xaarrggbb]" to colour parts of the text.
[Optional] center
Boolean
Set to true to center the text around the given coordinates, or false to have the coordinates denote its top left corner. Defaults to false if omitted.
[Optional] font
Dword
The font to draw the text using. If omitted, the last font set using DX11 SET CURRENT FONT will be used (or the default font if that function hasn't been called).

  Returns

This function does not return a value.

  See also

DIRECTDRAWING Functions Menu
DX11 Function Categories